build: clean up .pc generation
authorJan Tojnar <jtojnar@gmail.com>
Wed, 29 Apr 2020 05:42:38 +0000 (07:42 +0200)
committerJan Tojnar <jtojnar@gmail.com>
Wed, 29 Apr 2020 05:42:53 +0000 (07:42 +0200)
commit6d9db8610eff8c12d594d53b7813d9eea1247801
treeed10c67e15d773f417e51ca2269666679741a59a
parentac3d3c647e42c6e2232767de310978a6906ec7b3
build: clean up .pc generation

Path concatenation is much nicer than the unwieldy format method.
Since paths returned by get_option are relative to prefix, they will be joined as before.

As a bonus, this fixes weird platforms like NixOS that actually pass absolute includedir under a different prefix.
meson.build